multiply.ts
thoward37@gmail.com/shirt[add-multiply-b-function-new-file] / multiply.ts
@ b0a62ee2
Download
Ladder Summary
- file Add unit tests for the multiply function
/**
* Returns the product of two numbers.
*
* @param a - The first number.
* @param b - The second number.
* @returns The result of a multiplied by b.
*/
export function multiply(a: number, b: number): number {
return a * b;
}